//
//  HBUploadImgParam.m
//  CreditManger
//
//  Created by chaiyanan on 15/11/5.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import "HBUploadImgParam.h"

@implementation HBUploadImgParam

- (NSDictionary *)buidlParam2Dictionary
{
    return @{
             Key_token:[DataTypeTranslate stringToString:self.token],
             Key_uid:[DataTypeTranslate stringToString:self.uid]
             };
}

- (NSDictionary *)buidImageParam2Dictionary
{
    if (self.file.length>0)
    {
        return @{Key_file:self.file};
    }
    else
    {
        return nil;
    }
}

@end
